<?php

if (!empty($_SESSION['user']['user_id'])){
    header("Location: " . ROOT . "?input=main");
    exit;
}
?>
